// src/api/endpoints.js
export const endpoints = {
  // Auth
  login: '/api/collections/users/auth-with-password',
  register: '/api/collections/users/records',
  logout: '/api/auth/logout',
  
  // User
  profile: '/api/user/profile',
  updateProfile: '/api/user/profile',
  
  // Video (jian)
  getVideoPlaylist: '/api/custom/tis/playlist',

  // Photo (tong)
  getPhotoPlaylist: '/api/custom/tis/photo-list',
  joinFavoritelist: '/api/collections/favorite/records',
  deleteFavoriteOne:'/api/collections/favorite/records',

  // Tags (si)
  getTags: '/api/custom/tis/bli/tags',

  // constellation （Fen)
  getConstellation: '/api/custom/tis/constellation',

  // getUserInfo (Wu)
  getUserInfo: '/api/collections/users/records/',

  // Points
  CHECK_TODAY_INTEGRAL: '/api/custom/tis/integral/check-today',
  REPORT_SCORE: '/api/custom/tis/score/check',

  // Membership
  redeemMembership: '/api/custom/tis/redeem-membership',

  getMallList:'/api/collections/points_product/records',

  // Backpack (my bag)
  getBagList: '/api/custom/tis/bag',
  redeemProduct: '/api/custom/tis/redeem-product',
  
  // Exchange records
  insertExchangeRecord: '/api/collections/exchange_product/records',

  // Store (商户)
  getStoreList: '/api/collections/store/records',
};